import http from './Ciallo'

interface LoginParams {
  account: string
  password: string
  [key: string]: string | number | boolean
}
export function login(params: LoginParams) {
  return http({
    url: '/admin_login',
    method: 'post',
    params,
  })
}
